﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using Sisocana.Core.Interfaces;

namespace Sisocana.Core.Models
{
    public class ONGModel : IONGModel
    {
        public int id { get; set; }

        [DisplayName("ONG Name")]
        [Required(ErrorMessage = "ONG Name required")]
        [StringLength(100, ErrorMessage = "The maximum length is 100")]
        public string nombre { get; set; }

        [DisplayName("ONG Description")]
        [Required(ErrorMessage = "ONG Description required")]
        [StringLength(200, ErrorMessage = "The maximum length is 200")]
        public string descripcion { get; set; }
        
        [DisplayName("ONG URL")]
        [StringLength(300, ErrorMessage = "The maximum length is 300")]
        public string urlGeneral { get; set; }

        [DisplayName("ONG State")]
        [StringLength(1, ErrorMessage = "The maximum length is 1")]
        public string estado { get; set; }
    }
}
